<?php
 require_once("class.request_builder.php");
 header("Content-type: application/json");
 $num_adt=$_REQUEST["num_adt"];
 $num_chd=$_REQUEST["num_chd"];
 $num_inf=$_REQUEST["num_inf"];
 $origin_code=$_REQUEST["origin_code"];
 $dest_code=$_REQUEST["dest_code"];
 $search_type=$_REQUEST["search_type"];
 $cab_cla=$_REQUEST["cab_cla"];
 $dep_date=$_REQUEST["dep_date"];
 $ret_date=$_REQUEST["ret_date"];
 $request_id=$_REQUEST["request_id"];

$req_build= new request_builder($num_adt,$num_chd,$num_inf,$cab_cla,$origin_code,$dest_code,$search_type,$dep_date,$ret_date,$request_id);
 //$req_build= new request_builder(1,0,0,"E","LAX","ATL","RT","12/09/2009","12/15/2009",188);
  

?>


<?php

 echo $req_build->test_request();
?>

    
